package org.example.course;

/**
 * @author ZerlindaLi create at 2021/4/2 16:59
 * @version 1.0.0
 * @description JavaCourse
 */
public class JavaCourse extends AbstractCourse{
    private boolean needCheckHomework = true;

    public boolean needCheckHomework() {
        return needCheckHomework;
    }

    public void setNeedCheckHomework(boolean needCheckHomework) {
        this.needCheckHomework = needCheckHomework;
    }

    @Override
    protected void checkHomework() {
        System.out.println("检查java作业");
    }
}
